package com.netease.pris.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {

	public static String DATE_TIME_PATTERN = "yyyy-MM-dd  HH:mm:ssZ";

	public static String long2String(long time) {
		SimpleDateFormat format = new SimpleDateFormat(DATE_TIME_PATTERN);
		StringBuilder date = new StringBuilder(format.format(new Date(time)));
		date.insert(date.length() - 2, ':');
		return date.toString();
	}
}
